public RemapHueCommand(
int[] mask,
int[] hueTable,
int[] saturationTable,
int[] valueTable,
int lookUpTableLength
)
Public Function New( _
ByVal mask() As Integer, _
ByVal hueTable() As Integer, _
ByVal saturationTable() As Integer, _
ByVal valueTable() As Integer, _
ByVal lookUpTableLength As Integer _
)
- (instancetype)initWithMask:(nullable const unsigned int *)mask
hueTable:(nullable const unsigned int *)hueTable
saturationTable:(nullable const unsigned int *)saturationTable
valueTable:(nullable const unsigned int *)valueTable
lookUpTableLength:(NSUInteger)lookUpTableLength
public RemapHueCommand(
int[] mask,
int[] hueTable,
int[] saturationTable,
int[] valueTable,
int lookUpTableLength
)
public:
RemapHueCommand(
array<int>^ mask,
array<int>^ hueTable,
array<int>^ saturationTable,
array<int>^ valueTable,
int lookUpTableLength
)
mask
Lookup table that identifies which values in the hueTable, saturationTable and valueTable are valid. If Mask[i] is non-zero, then hueTable, saturationTable and valueTable are to be used. If Mask[i] is 0 then hueTable, saturationTable and valueTable are ignored. If Mask is null, all entries in the hueTable, saturationTable and valueTable are used.
hueTable
Hue look up table. If the Mask table value for a particular pixel hue is non-zero, then the hue is changed to the corresponding entry in hueTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the hue is changed to hueTable[85]. If hueTable is null, the hue of each pixel is unchanged.
saturationTable
Saturation look up table. If the Mask table value for a particular pixel hue is non-zero, then the saturation is changed to the corresponding entry in saturationTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the saturation is changed to saturationTable[85]. If hueTable is null, the saturation is changed to saturationTable[85]. If saturationTable is null, the saturation of each pixel is unchanged.
valueTable
Value look up table. If the Mask table value for a particular pixel hue is non-zero, then the value is changed to the corresponding entry in valueTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the value is changed to valueTable[85]. If hueTable is null, the value is changed to ValueTable[85]. If valueTable is null, the value of each pixel is unchanged.
lookUpTableLength
Length of the lookup table. Possible values are 65536 for 16-bit image, 4096 for 12-bit image, 256 for 8-bit image
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document